package org.idea.iedis.framework.server.datastruct.zset;

/**
 * @Author linhao
 * @Date created in 4:59 下午 2021/5/7
 */
public class EntryItem {

    public String key;

    public long score;

    public EntryItem next;

    public EntryItem pre;

    public EntryItem getPre() {
        return pre;
    }

    public void setPre(EntryItem pre) {
        this.pre = pre;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public EntryItem getNext() {
        return next;
    }

    public void setNext(EntryItem next) {
        this.next = next;
    }

    public EntryItem(String key, long score, EntryItem next,EntryItem pre) {
        this.key = key;
        this.score = score;
        this.next = next;
        this.pre = pre;
    }
}
